package ecs.net.components;

import ecs.core.BaseComponent;
import ecs.net.ByteBuffer;

public class PackBufferComponent extends BaseComponent {

    private ByteBuffer _buffer;
    private ByteBuffer _last;
    private ByteBuffer _lenBuffer;

    public ByteBuffer buffer() {
        return _buffer;
    }

    public void buffer(ByteBuffer buffer) {
        _buffer = buffer;
    }

    public ByteBuffer last() {
        return _last;
    }

    public void last(ByteBuffer last) {
        _last = last;
    }

    public ByteBuffer lenBuffer() {
        return _lenBuffer;
    }

    public void lenBuffer(ByteBuffer lenBuffer) {
        _lenBuffer = lenBuffer;
    }

}
